package com.schx.budget.pojo

import java.math.BigDecimal
import java.util.*


class Budget {
    val id: String? = null
    val project: String = ""
    val type3: String = ""
    var actualAmount: Double = 0.0
    val budgetAmount: Double = 0.0
    var month: String? = null
    val wage: BigDecimal? = null
    val incomeAmount: BigDecimal? = null
    val costAmount: BigDecimal? = null
    var nowMonthIncome: Double = 0.0
    var lastMonthIncome: Double = 0.0
    var lastIncome: Double = 0.0
    var cost1: Double = 0.0
    var cost2: Double = 0.0
    var cost3: Double = 0.0
    var children: List<Any?>? = ArrayList()
    override fun toString(): String {
        return "Budget(id=$id, project='$project', type3='$type3', actualAmount=$actualAmount, budgetAmount=$budgetAmount, month=$month, wage=$wage, incomeAmount=$incomeAmount, costAmount=$costAmount, nowMonthIncome=$nowMonthIncome, lastMonthIncome=$lastMonthIncome, lastIncome=$lastIncome, cost1=$cost1, cost2=$cost2, cost3=$cost3, children=$children)"
    }


}
